rm -rf $1/$3
cd $1
git clone $2
cd $3
if [ "$4" != "master" ]
then
 git branch $4
 git checkout $4  
 git reset --hard origin/$4
fi
pip install -r requirement.txt 
nohup python3 manage.py runserver 0.0.0.0:$5 > log.file 2>&1 &